package com.milk.model.entity.order;

import java.io.Serializable;

/**
 * order 实体类
 * 2017-09-14 16:57:39  徐政涛
 */ 
public class Order implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 3174015240519926258L;

	/** 
	 *  
	 */ 
	private long id;
	
	/** 
	 *  
	 */ 
	private long productId;
	
	/** 
	 *  数量
	 */ 
	private long count;
	
	/** 
	 *  总价
	 */ 
	private double amount;
	
	/** 
	 *  状态
	 */ 
	private byte status;
	
	/** 
	 *  
	 */ 
	private long createTime;
	
	/** 
	 *  
	 */ 
	private long userId;
	
	
	public void setId(long id){
		this.id=id;
	}
	public long getId(){
		return id;
	}
	public void setProductId(long productId){
		this.productId=productId;
	}
	public long getProductId(){
		return productId;
	}
	public void setCount(long count){
		this.count=count;
	}
	public long getCount(){
		return count;
	}
	public void setAmount(double amount){
		this.amount=amount;
	}
	public double getAmount(){
		return amount;
	}
	public void setStatus(byte status){
		this.status=status;
	}
	public byte getStatus(){
		return status;
	}
	public void setCreateTime(long createTime){
		this.createTime=createTime;
	}
	public long getCreateTime(){
		return createTime;
	}
	public void setUserId(long userId){
		this.userId=userId;
	}
	public long getUserId(){
		return userId;
	}
	
}